package com.th.dao;

import com.th.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author ThreePure
 * @date 20/12/18 16:31
 * @description: TODO
 * @since 1.8
 */
public interface TeacherMapper {
    /**
     * 获取老师
     * @return
     */
    List<Teacher> getTeacherList();

    /**
     * 获取指定老师下的所有学生及老师信息
     * @param id
     * @return
     */
    Teacher getTeacher(@Param("tid") int id);


    Teacher getTeacher2(@Param("tid") int id);
}
